home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / ezy_comm / ezy1023.zip / SETUP.ZIP / FEDVIEW.BAT < prev    next >
DOS Batch File  |  1992-09-03  |  1KB  |  54 lines

  1. @echo off
  2. rem ********************************************
  3. rem **                                        **
  4. rem **             FEdView.Bat                **
  5. rem **                                        **
  6. rem **      Copyright Peter Davies 1992       **
  7. rem **        All Rights Reserved             **
  8. rem **                                        **
  9. rem **        For use with Ezycom Only        **
  10. rem **                                        **
  11. rem ********************************************
  12. echo Extracting %1 from %2
  13.  
  14. rem If called stand alone, it checks to see if enough parameters were
  15. rem passed to the batch file
  16.  
  17. if !%3! == !! goto endit
  18.  
  19. rem This is a list of the command line in FEdView.Bat (Ezycom)
  20.  
  21. rem %1 EZYCOM.PAS                Filename to Extract
  22. rem %2 C:\EZY\FILES\EZYSRC.ZIP   Filename to Extract From
  23. rem %3 ZIP                       Archive Type
  24.  
  25. if not exist %2 goto :endit
  26.  
  27. goto :get%3
  28.  
  29. :getzip
  30. pkunzip -o %2 %1
  31. goto endit
  32.  
  33. :getlzh
  34. lha e /cnm %2 %1
  35. goto endit
  36.                     
  37. :getarc
  38. PKXARC -r %2 %1
  39. goto endit
  40.  
  41. :getpak
  42. PAK e /wa %2 %1
  43. goto endit
  44.  
  45. :getarj
  46. arj e -y %2 %1
  47. goto endit
  48.  
  49. :getzoo
  50. ZOO -e %2 %1
  51.  
  52. :endit
  53. echo Finished Extraction
  54.